Optimal. Leaf size=881 \[ -\frac{(b c-a d) \left (\sqrt{b} x^2+\sqrt{a}\right ) \sqrt{\frac{b x^4+a}{\left (\sqrt{b} x^2+\sqrt{a}\right )^2}} \Pi \left (\frac{\left (\sqrt{b} \sqrt{-c}+\sqrt{a} \sqrt{d}\right )^2}{4 \sqrt{a} \sqrt{b} \sqrt{-c} \sqrt{d}};2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right ) \left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right )^2}{8 \sqrt [4]{a} \sqrt [4]{b} c d (b c+a d) \sqrt{b x^4+a}}-\frac{\sqrt [4]{b} (b c-a d) \left (\sqrt{b} x^2+\sqrt{a}\right ) \sqrt{\frac{b x^4+a}{\left (\sqrt{b} x^2+\sqrt{a}\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ),\frac{1}{2}\right ) \left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right )}{4 \sqrt [4]{a} \sqrt{-c} d (b c+a d) \sqrt{b x^4+a}}+\frac{\sqrt{b c-a d} \tan ^{-1}\left (\frac{\sqrt{b c-a d} x}{\sqrt [4]{-c} \sqrt [4]{d} \sqrt{b x^4+a}}\right )}{4 (-c)^{3/4} d^{3/4}}-\frac{\sqrt{a d-b c} \tan ^{-1}\left (\frac{\sqrt{a d-b c} x}{\sqrt [4]{-c} \sqrt [4]{d} \sqrt{b x^4+a}}\right )}{4 (-c)^{3/4} d^{3/4}}+\frac{b^{3/4} \left (\sqrt{b} x^2+\sqrt{a}\right ) \sqrt{\frac{b x^4+a}{\left (\sqrt{b} x^2+\sqrt{a}\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ),\frac{1}{2}\right )}{2 \sqrt [4]{a} d \sqrt{b x^4+a}}-\frac{\sqrt [4]{b} \left (\sqrt{b}+\frac{\sqrt{a} \sqrt{d}}{\sqrt{-c}}\right ) (b c-a d) \left (\sqrt{b} x^2+\sqrt{a}\right ) \sqrt{\frac{b x^4+a}{\left (\sqrt{b} x^2+\sqrt{a}\right )^2}} \text{EllipticF}\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right ),\frac{1}{2}\right )}{4 \sqrt [4]{a} d (b c+a d) \sqrt{b x^4+a}}-\frac{\left (\sqrt{b} \sqrt{-c}+\sqrt{a} \sqrt{d}\right )^2 (b c-a d) \left (\sqrt{b} x^2+\sqrt{a}\right ) \sqrt{\frac{b x^4+a}{\left (\sqrt{b} x^2+\sqrt{a}\right )^2}} \Pi \left (-\frac{\left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right )^2}{4 \sqrt{a} \sqrt{b} \sqrt{-c} \sqrt{d}};2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{8 \sqrt [4]{a} \sqrt [4]{b} c d (b c+a d) \sqrt{b x^4+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.879899, antiderivative size = 881, normalized size of antiderivative = 1., number of steps used = 9, number of rules used = 5, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.238, Rules used = {406, 220, 409, 1217, 1707} \[ -\frac{(b c-a d) \left (\sqrt{b} x^2+\sqrt{a}\right ) \sqrt{\frac{b x^4+a}{\left (\sqrt{b} x^2+\sqrt{a}\right )^2}} \Pi \left (\frac{\left (\sqrt{b} \sqrt{-c}+\sqrt{a} \sqrt{d}\right )^2}{4 \sqrt{a} \sqrt{b} \sqrt{-c} \sqrt{d}};2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right ) \left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right )^2}{8 \sqrt [4]{a} \sqrt [4]{b} c d (b c+a d) \sqrt{b x^4+a}}-\frac{\sqrt [4]{b} (b c-a d) \left (\sqrt{b} x^2+\sqrt{a}\right ) \sqrt{\frac{b x^4+a}{\left (\sqrt{b} x^2+\sqrt{a}\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right ) \left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right )}{4 \sqrt [4]{a} \sqrt{-c} d (b c+a d) \sqrt{b x^4+a}}+\frac{\sqrt{b c-a d} \tan ^{-1}\left (\frac{\sqrt{b c-a d} x}{\sqrt [4]{-c} \sqrt [4]{d} \sqrt{b x^4+a}}\right )}{4 (-c)^{3/4} d^{3/4}}-\frac{\sqrt{a d-b c} \tan ^{-1}\left (\frac{\sqrt{a d-b c} x}{\sqrt [4]{-c} \sqrt [4]{d} \sqrt{b x^4+a}}\right )}{4 (-c)^{3/4} d^{3/4}}+\frac{b^{3/4} \left (\sqrt{b} x^2+\sqrt{a}\right ) \sqrt{\frac{b x^4+a}{\left (\sqrt{b} x^2+\sqrt{a}\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 \sqrt [4]{a} d \sqrt{b x^4+a}}-\frac{\sqrt [4]{b} \left (\sqrt{b}+\frac{\sqrt{a} \sqrt{d}}{\sqrt{-c}}\right ) (b c-a d) \left (\sqrt{b} x^2+\sqrt{a}\right ) \sqrt{\frac{b x^4+a}{\left (\sqrt{b} x^2+\sqrt{a}\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{4 \sqrt [4]{a} d (b c+a d) \sqrt{b x^4+a}}-\frac{\left (\sqrt{b} \sqrt{-c}+\sqrt{a} \sqrt{d}\right )^2 (b c-a d) \left (\sqrt{b} x^2+\sqrt{a}\right ) \sqrt{\frac{b x^4+a}{\left (\sqrt{b} x^2+\sqrt{a}\right )^2}} \Pi \left (-\frac{\left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right )^2}{4 \sqrt{a} \sqrt{b} \sqrt{-c} \sqrt{d}};2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{8 \sqrt [4]{a} \sqrt [4]{b} c d (b c+a d) \sqrt{b x^4+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 406
Rule 220
Rule 409
Rule 1217
Rule 1707
Rubi steps
\begin{align*} \int \frac{\sqrt{a+b x^4}}{c+d x^4} \, dx &=\frac{b \int \frac{1}{\sqrt{a+b x^4}} \, dx}{d}-\frac{(b c-a d) \int \frac{1}{\sqrt{a+b x^4} \left (c+d x^4\right )} \, dx}{d}\\ &=\frac{b^{3/4} \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 \sqrt [4]{a} d \sqrt{a+b x^4}}-\frac{(b c-a d) \int \frac{1}{\left (1-\frac{\sqrt{d} x^2}{\sqrt{-c}}\right ) \sqrt{a+b x^4}} \, dx}{2 c d}-\frac{(b c-a d) \int \frac{1}{\left (1+\frac{\sqrt{d} x^2}{\sqrt{-c}}\right ) \sqrt{a+b x^4}} \, dx}{2 c d}\\ &=\frac{b^{3/4} \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 \sqrt [4]{a} d \sqrt{a+b x^4}}-\frac{\left (\sqrt{b} \left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right ) (b c-a d)\right ) \int \frac{1}{\sqrt{a+b x^4}} \, dx}{2 \sqrt{-c} d (b c+a d)}-\frac{\left (\sqrt{b} \left (\sqrt{b}+\frac{\sqrt{a} \sqrt{d}}{\sqrt{-c}}\right ) (b c-a d)\right ) \int \frac{1}{\sqrt{a+b x^4}} \, dx}{2 d (b c+a d)}+\frac{\left (\sqrt{a} \left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right ) (b c-a d)\right ) \int \frac{1+\frac{\sqrt{b} x^2}{\sqrt{a}}}{\left (1-\frac{\sqrt{d} x^2}{\sqrt{-c}}\right ) \sqrt{a+b x^4}} \, dx}{2 c \sqrt{d} (b c+a d)}-\frac{\left (\sqrt{a} \left (\sqrt{b} \sqrt{-c}+\sqrt{a} \sqrt{d}\right ) (b c-a d)\right ) \int \frac{1+\frac{\sqrt{b} x^2}{\sqrt{a}}}{\left (1+\frac{\sqrt{d} x^2}{\sqrt{-c}}\right ) \sqrt{a+b x^4}} \, dx}{2 c \sqrt{d} (b c+a d)}\\ &=\frac{\sqrt{b c-a d} \tan ^{-1}\left (\frac{\sqrt{b c-a d} x}{\sqrt [4]{-c} \sqrt [4]{d} \sqrt{a+b x^4}}\right )}{4 (-c)^{3/4} d^{3/4}}-\frac{\sqrt{-b c+a d} \tan ^{-1}\left (\frac{\sqrt{-b c+a d} x}{\sqrt [4]{-c} \sqrt [4]{d} \sqrt{a+b x^4}}\right )}{4 (-c)^{3/4} d^{3/4}}+\frac{b^{3/4} \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{2 \sqrt [4]{a} d \sqrt{a+b x^4}}-\frac{\sqrt [4]{b} \left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right ) (b c-a d) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{4 \sqrt [4]{a} \sqrt{-c} d (b c+a d) \sqrt{a+b x^4}}-\frac{\sqrt [4]{b} \left (\sqrt{b}+\frac{\sqrt{a} \sqrt{d}}{\sqrt{-c}}\right ) (b c-a d) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} F\left (2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{4 \sqrt [4]{a} d (b c+a d) \sqrt{a+b x^4}}-\frac{\left (\sqrt{b} \sqrt{-c}+\sqrt{a} \sqrt{d}\right )^2 (b c-a d) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} \Pi \left (-\frac{\left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right )^2}{4 \sqrt{a} \sqrt{b} \sqrt{-c} \sqrt{d}};2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{8 \sqrt [4]{a} \sqrt [4]{b} c d (b c+a d) \sqrt{a+b x^4}}-\frac{\left (\sqrt{b} \sqrt{-c}-\sqrt{a} \sqrt{d}\right )^2 (b c-a d) \left (\sqrt{a}+\sqrt{b} x^2\right ) \sqrt{\frac{a+b x^4}{\left (\sqrt{a}+\sqrt{b} x^2\right )^2}} \Pi \left (\frac{\left (\sqrt{b} \sqrt{-c}+\sqrt{a} \sqrt{d}\right )^2}{4 \sqrt{a} \sqrt{b} \sqrt{-c} \sqrt{d}};2 \tan ^{-1}\left (\frac{\sqrt [4]{b} x}{\sqrt [4]{a}}\right )|\frac{1}{2}\right )}{8 \sqrt [4]{a} \sqrt [4]{b} c d (b c+a d) \sqrt{a+b x^4}}\\ \end{align*}
Mathematica [C] time = 0.151986, size = 161, normalized size = 0.18 \[ \frac{5 a c x \sqrt{a+b x^4} F_1\left (\frac{1}{4};-\frac{1}{2},1;\frac{5}{4};-\frac{b x^4}{a},-\frac{d x^4}{c}\right )}{\left (c+d x^4\right ) \left (2 x^4 \left (b c F_1\left (\frac{5}{4};\frac{1}{2},1;\frac{9}{4};-\frac{b x^4}{a},-\frac{d x^4}{c}\right )-2 a d F_1\left (\frac{5}{4};-\frac{1}{2},2;\frac{9}{4};-\frac{b x^4}{a},-\frac{d x^4}{c}\right )\right )+5 a c F_1\left (\frac{1}{4};-\frac{1}{2},1;\frac{5}{4};-\frac{b x^4}{a},-\frac{d x^4}{c}\right )\right )} \]
Warning: Unable to verify antiderivative.
[In]
[Out]
________________________________________________________________________________________
Maple [C] time = 0.017, size = 273, normalized size = 0.3 \begin{align*}{\frac{b}{d}\sqrt{1-{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}\sqrt{1+{i{x}^{2}\sqrt{b}{\frac{1}{\sqrt{a}}}}}{\it EllipticF} \left ( x\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}},i \right ){\frac{1}{\sqrt{{i\sqrt{b}{\frac{1}{\sqrt{a}}}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}}-{\frac{1}{8\,{d}^{2}}\sum _{{\it \_alpha}={\it RootOf} \left ({{\it \_Z}}^{4}d+c \right ) }{\frac{-ad+bc}{{{\it \_alpha}}^{3}} \left ( -{{\it Artanh} \left ({\frac{2\,{{\it \_alpha}}^{2}b{x}^{2}+2\,a}{2}{\frac{1}{\sqrt{{\frac{ad-bc}{d}}}}}{\frac{1}{\sqrt{b{x}^{4}+a}}}} \right ){\frac{1}{\sqrt{{\frac{ad-bc}{d}}}}}}+2\,{\frac{{{\it \_alpha}}^{3}d}{c\sqrt{b{x}^{4}+a}}\sqrt{1-{\frac{i\sqrt{b}{x}^{2}}{\sqrt{a}}}}\sqrt{1+{\frac{i\sqrt{b}{x}^{2}}{\sqrt{a}}}}{\it EllipticPi} \left ( x\sqrt{{\frac{i\sqrt{b}}{\sqrt{a}}}},{\frac{i\sqrt{a}{{\it \_alpha}}^{2}d}{c\sqrt{b}}},{\sqrt{{\frac{-i\sqrt{b}}{\sqrt{a}}}}{\frac{1}{\sqrt{{\frac{i\sqrt{b}}{\sqrt{a}}}}}}} \right ){\frac{1}{\sqrt{{\frac{i\sqrt{b}}{\sqrt{a}}}}}}} \right ) }} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{b x^{4} + a}}{d x^{4} + c}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\sqrt{a + b x^{4}}}{c + d x^{4}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]